// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import axios from 'axios'
import store from './store'
import mySearch from './components/mySearch'
import myCollapse from './components/myCollapse'
import myCollapseItem from './components/myCollapseItem'
import myCarousel from './components/myCarousel'
import bMsgbox from './components/bMsgbox'
// import banner from './components/banner'
// Vue.component(Mint.name, Mint)

Vue.config.productionTip = false
Vue.use(router)
Vue.use(Mint)
Vue.use(ElementUI)
Vue.use(VueAwesomeSwiper)
Vue.use(mySearch)
Vue.use(myCollapse)
Vue.use(myCollapseItem)
Vue.use(myCarousel)
Vue.use(bMsgbox)
Vue.prototype.$axios = axios
// router.mode = 'history'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: {App}
}).$mount('#app')
